Skip to content

remove d in Double #1930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2021
Merged

remove d in Double #1930

merged 1 commit into from
Mar 17, 2021

Conversation

xhudik
Copy link
Contributor

@xhudik xhudik commented Feb 23, 2021

e.g. 4e-10 - is a scientific format of number where e is a power, but 4e-10d looks like a typo to me. If not what d stands for?

e.g. 4e-10 - is scientific format of number, but 4e-10d looks like a typo to me
@b-studios
Copy link
Contributor

I agree it is not necessary at that point. @alvinj maybe added it to distinguish 4e-10d (double) from 4e-10f) float.

@b-studios b-studios added the scala-3 scala 3 documentation label Mar 15, 2021
@alvinj
Copy link
Contributor

alvinj commented Mar 17, 2021

Yes, removing this is fine. (FWIW, I tracked that d down to a blog post I wrote back in 2012, and it referenced another doc that was written in 1998. 😄)

@SethTisue SethTisue merged commit 6e66c44 into scala:master Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scala-3 scala 3 documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants